package cn.powertime.evaluation.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AppSendSmsVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "帐号不能为空")
    @Pattern(regexp = "^[1][3,4,5,6,7,8][0-9]{9}$", message = "手机号不合法")
    private String account;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
}
